vcRaycastResult
vcRaycastResult contains the result of a raycast operation.
See in: Overview
Module: vcCore
Parent: -
Children -
Referenced by: vcRaycast.raycastList(), vcRaycast.raycastScene()
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| Hit | Boolean | R | Gets a Boolean value which is true when the ray intersects a node, otherwise false. |
| Index | Integer | R | Gets the index of the triangle hit by the ray. |
| Node | vcNode | R | Gets the vcNode object hit by the ray. |
| Position | vcMatrix | R | Gets the location where the ray hit as a vcMatrix object. The Z-axis is parallel with the normal of the surface hit by the ray. |
| Set | vcGeometrySet | R | Gets the vcGeometrySet object hit by the ray. |